package classes.managers {
	import classes.scenes.A_Scene;
	import flash.display.MovieClip;
	import flash.events.TimerEvent;
	import flash.utils.Timer;
	
	/**
	 * ...
	 * @author Kihoonee
	 */
	public class GameOver_Manager extends A_Scene {
		
		public function GameOver_Manager( _main:Main, _mc:MovieClip ) {
			super( _main, _mc );
			
		}
		
		public function init():void {
			visible = true;
			var timer:Timer = new Timer( 2000, 1 );
			timer.addEventListener(TimerEvent.TIMER_COMPLETE, function(e:TimerEvent):void {
				timer.removeEventListener(TimerEvent.TIMER_COMPLETE, arguments.callee );
				
				visible = false;
				main.coinInit();
			});
			timer.start();
		}
		
	}

}